<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>love_air: com.example.akisame_lin.love_air2.Bean.AppManager类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">love_air
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin.html">akisame_lin</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2.html">love_air2</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean.html">Bean</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html">AppManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pri-static-attribs">静态 Private 属性</a> &#124;
<a href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.akisame_lin.love_air2.Bean.AppManager类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
com.example.akisame_lin.love_air2.Bean.AppManager 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager__coll__graph.png" border="0" usemap="#com_8example_8akisame__lin_8love__air2_8_bean_8_app_manager_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a221d4e0be0039be3f672aa7f41dc846c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#a221d4e0be0039be3f672aa7f41dc846c">addActivity</a> (Activity activity)</td></tr>
<tr class="separator:a221d4e0be0039be3f672aa7f41dc846c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a389ff3d67637e73e722aa6274a167c0c"><td class="memItemLeft" align="right" valign="top">static Activity&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#a389ff3d67637e73e722aa6274a167c0c">currentActivity</a> ()</td></tr>
<tr class="separator:a389ff3d67637e73e722aa6274a167c0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab78bcc8619fb444e866aea65fee46386"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#ab78bcc8619fb444e866aea65fee46386">finishCurrentActivity</a> ()</td></tr>
<tr class="separator:ab78bcc8619fb444e866aea65fee46386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e67d6a286bf729c546b6a95ba016cc1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#a6e67d6a286bf729c546b6a95ba016cc1">finishActivity</a> (Activity activity)</td></tr>
<tr class="separator:a6e67d6a286bf729c546b6a95ba016cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd6bf84a505b73f0ed3e47c6480a5ba7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#abd6bf84a505b73f0ed3e47c6480a5ba7">finishActivity</a> (Class&lt;?&gt; cls)</td></tr>
<tr class="separator:abd6bf84a505b73f0ed3e47c6480a5ba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed88d04478ec8f70362f104353a88abe"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#aed88d04478ec8f70362f104353a88abe">finishAllActivity</a> ()</td></tr>
<tr class="separator:aed88d04478ec8f70362f104353a88abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace768949698c5fd46e3fd8bd7c7b0b5c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#ace768949698c5fd46e3fd8bd7c7b0b5c">AppExit</a> (Context context)</td></tr>
<tr class="separator:ace768949698c5fd46e3fd8bd7c7b0b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
静态 Private 属性</h2></td></tr>
<tr class="memitem:ac7d22694c968506e587e2a9f28b565e7"><td class="memItemLeft" align="right" valign="top">static Stack&lt; Activity &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager.html#ac7d22694c968506e587e2a9f28b565e7">activityStack</a> = new Stack&lt;Activity&gt;()</td></tr>
<tr class="separator:ac7d22694c968506e587e2a9f28b565e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="a221d4e0be0039be3f672aa7f41dc846c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a221d4e0be0039be3f672aa7f41dc846c">&#9670;&nbsp;</a></span>addActivity()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.example.akisame_lin.love_air2.Bean.AppManager.addActivity </td>
          <td>(</td>
          <td class="paramtype">Activity&#160;</td>
          <td class="paramname"><em>activity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>添加Activity到堆栈 </p>

</div>
</div>
<a id="ace768949698c5fd46e3fd8bd7c7b0b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace768949698c5fd46e3fd8bd7c7b0b5c">&#9670;&nbsp;</a></span>AppExit()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.example.akisame_lin.love_air2.Bean.AppManager.AppExit </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>退出应用程序 </p>

</div>
</div>
<a id="a389ff3d67637e73e722aa6274a167c0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a389ff3d67637e73e722aa6274a167c0c">&#9670;&nbsp;</a></span>currentActivity()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Activity com.example.akisame_lin.love_air2.Bean.AppManager.currentActivity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取当前Activity（堆栈中最后一个压入的） </p>

</div>
</div>
<a id="a6e67d6a286bf729c546b6a95ba016cc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e67d6a286bf729c546b6a95ba016cc1">&#9670;&nbsp;</a></span>finishActivity() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.example.akisame_lin.love_air2.Bean.AppManager.finishActivity </td>
          <td>(</td>
          <td class="paramtype">Activity&#160;</td>
          <td class="paramname"><em>activity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>结束指定的Activity </p>

</div>
</div>
<a id="abd6bf84a505b73f0ed3e47c6480a5ba7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd6bf84a505b73f0ed3e47c6480a5ba7">&#9670;&nbsp;</a></span>finishActivity() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.example.akisame_lin.love_air2.Bean.AppManager.finishActivity </td>
          <td>(</td>
          <td class="paramtype">Class&lt;?&gt;&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>结束指定类名的Activity </p>

</div>
</div>
<a id="aed88d04478ec8f70362f104353a88abe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed88d04478ec8f70362f104353a88abe">&#9670;&nbsp;</a></span>finishAllActivity()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.example.akisame_lin.love_air2.Bean.AppManager.finishAllActivity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>结束所有Activity </p>

</div>
</div>
<a id="ab78bcc8619fb444e866aea65fee46386"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab78bcc8619fb444e866aea65fee46386">&#9670;&nbsp;</a></span>finishCurrentActivity()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.example.akisame_lin.love_air2.Bean.AppManager.finishCurrentActivity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>结束当前Activity（堆栈中最后一个压入的） </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ac7d22694c968506e587e2a9f28b565e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7d22694c968506e587e2a9f28b565e7">&#9670;&nbsp;</a></span>activityStack</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Stack&lt;Activity&gt; com.example.akisame_lin.love_air2.Bean.AppManager.activityStack = new Stack&lt;Activity&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>app/src/main/java/com/example/akisame_lin/love_air2/Bean/<a class="el" href="_app_manager_8java.html">AppManager.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
